from adduser_page import AddUserPage
from login_page import LoginPage
from util import BoxDriver


class AddUserTest:

    def test(self):
        driver = BoxDriver()
        # loginPage = LoginPage(driver)
        # loginPage.login()
        addPage = AddUserPage(driver)
        # 登陆
        addPage.login()
        # 添加用户
        addPage.adduser()

if __name__ == "__main__":
    AddUserTest().test()
